/* 产品介绍 */
.portfolio-item-wrapper {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 30px;
}

.portfolio-item-wrapper:hover .portfolio-img img {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

.portfolio-item-wrapper .portfolio-img img {
  width: 100%;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

.portfolio-item-wrapper .portfolio-overlay {
  display: flex;
  flex-direction: column; /* 默认值是column，这里可省略，仅为了明确表示垂直排列 */
  justify-content: center; /* 垂直居中 */
  align-items: center; /* 水平居中 */
  text-align: left; /* 确保文字内容也水平居中 */
  height: 100%; /* 或者具体的高度，确保有高度才能居中 */
  background-color: rgba(255, 255, 255, 0.7);
  padding: 20px 35px 20px 20px;
  border-radius: 5px;
  -webkit-box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.096);
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.096);
  display: inline-block;
}

.portfolio-item-wrapper .portfolio-overlay .overlay-content h4 {
  margin-top: 5px;
  font-size: 16px;
  font-weight: 700;
  line-height: 28px;
}

.portfolio-item-wrapper .portfolio-overlay .overlay-content .border-btn {
  padding: 8px 27px;
  color: #fff;
  border: 2px solid #fff;
}

.portfolio-item-wrapper .portfolio-overlay .overlay-content .border-btn:hover {
  color: #7e57ff;
  background: #fff;
}
